<?php
require 'vendor/autoload.php';
use App\Bll\Inquirie;

$type = $_POST['type'];
$phone = $_POST['phone'];
$name = $_POST['name'];
$data = $_POST['data'];

if ($type) {
    Inquirie::saveCheckData($type, $phone, $name, $data);
}